/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.dvdfe8.crochet.modelo.service;

import com.dvdfe8.crochet.modelo.entity.Linea;
import com.dvdfe8.crochet.modelo.entity.Pedido;
import java.util.List;

/**
 *
 * @author David
 */
public interface LineaService {

    public void crear(Linea linea);

    public void eliminar(Linea linea);

    public Linea getLineaById(int id);
    
    public List<Linea> getLineasByPedido(Pedido pedido);


}
